package cn.itcast.bos.dao.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import antlr.collections.List;
import cn.itcast.bos.domain.base.Standard;

public interface StandardRepository extends JpaRepository<Standard, Integer> {

	// 根据收派标准名查询
	//public java.util.List<Standard> findByName(String name);

//	@Query(value = "from Standard where name=?", nativeQuery = false)
//	public java.util.List<Standard> queryName(String name);
	
	@Query
	public java.util.List<Standard> queryName2(String name);
	
}
